<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="layout :: head(~{ :: title}, ~{ :: link}, ~{ ::script},~{::style})">
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title>商户管理平台</title>


    <style></style>
   <link/>
    <script></script>
</head>
<body th:replace="layout::body(~{this::section})">
<section class="content-wrapper">
    <section class="content-header">
        <h1>
            机构添加
            <small>Control panel</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 商户管理平台</a></li>
            <li class="active">机构添加</li>
        </ol>
    </section>
    <section class="content">
        <div th:if="${respMsg != ''}" class="alert alert-danger alert-dismissible">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <h4><i class="icon fa fa-ban"></i> 操作提示</h4>
            <label th:text="${respMsg}"/>
        </div>
       <form class="form" role="form" method="post" th:action="@{/MpsOrg/Save}">
           <div class="form-group">
               <label class="control-label">机构名称：</label>
                   <input type="text" class="form-control" id="name" name="name"/>
           </div>
           <div class="form-group">
               <label class="control-label">机构备注：</label>
                   <input type="text" class="form-control" id="descr" name="descr"/>
           </div>
           <div class="form-group">
               <label class="control-label">资料排序：</label>
                   <input type="text" class="form-control" id="sort" name="sort" value="99999"/>
           </div>
           <div class="form-group">
               <label class="control-label">资料状态：</label>
                   <input type="text" class="form-control" id="status" name="status" value="0"/>
           </div>
           <div class="row">
               <div class="col-md-5"></div>
               <div class="col-md-1">
                   <input type="submit" class="btn btn-block btn-primary" value="保存"/>
               </div>
               <div class="col-md-1">
                   <a class="btn btn-block btn-primary" th:href="@{/MpsOrg/goMpsOrgList}">返回</a>
               </div>
               <div class="col-md-5"></div>
           </div>
       </form>
    </section>
</section>
</body>
</html>